<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Encore\Admin\Traits\AdminBuilder;

class Student_mark extends Model
{
    //考勤周期配置模型
	public $timestamps = false;
    //
    protected $fillable = [
        'student_id','test_id','test_batch', 'test_score'
    ];

    public function student(){
    	return $this->belongsTo(Student::class);
    }
    public function test_config(){
    	return $this->belongsTo(Test_config::class);
    }
}
